/* tslint:disable */
/* eslint-disable */

import React, { CSSProperties, SVGAttributes, FunctionComponent } from 'react';
import { getIconColor } from './helper';

interface Props extends Omit<SVGAttributes<SVGElement>, 'color'> {
  size?: number;
  color?: string | string[];
}

const DEFAULT_STYLE: CSSProperties = {
  display: 'block',
};

const IconArrowRight: FunctionComponent<Props> = ({ size, color, style: _style, ...rest }) => {
  const style = _style ? { ...DEFAULT_STYLE, ..._style } : DEFAULT_STYLE;

  return (
    <svg viewBox="0 0 1024 1024" width={size + 'px'} height={size + 'px'} style={style} {...rest}>
      <path
        d="M877.504 509.504a32 32 0 0 1-28.288 31.776l-3.712 0.224h-672a32 32 0 0 1-3.744-63.808l3.744-0.192h672a32 32 0 0 1 32 32z m-4.352-22.656a32 32 0 0 1 2.464 42.464l-2.464 2.816-277.024 277.024a32 32 0 0 1-47.744-42.464l2.464-2.816 254.4-254.4-254.4-254.4a32 32 0 0 1-2.464-42.432l2.464-2.784a32 32 0 0 1 42.464-2.496l2.816 2.496 277.024 276.992z"
        fill={getIconColor(color, 0, '#333333')}
      />
    </svg>
  );
};

IconArrowRight.defaultProps = {
  size: 18,
};

export default IconArrowRight;
